// Wanton.cpp : Defines the entry point for the application.
//

#include "pch.h"
#include "Wanton.h"
#include "platform\Window.h"

#if USING(PLATFORM_MSWINDOWS)
int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
                     _In_opt_ HINSTANCE hPrevInstance,
                     _In_ LPTSTR    lpCmdLine,
                     _In_ int       nCmdShow)
{
	UNREFERENCED_PARAMETER(hPrevInstance);
	UNREFERENCED_PARAMETER(lpCmdLine);
#else
#if USING(PLATFORM_OSX)
#endif
#endif

	Window aWindow(800, 600);

	aWindow.Begin();
	while (aWindow.IsRunning())
	{
		aWindow.Update();
	}
	aWindow.End();
}